#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "WinSock.h"

#define err_exit(MESSAGE) (perror(MESSAGE),exit(1))
#define HELLO_PATH(path) sprintf(path, "%s\\My Documents\\HelloMail\\",getenv("USERPROFILE"))

int strinst(char *, const char *, const char *, const char *, int);
int strmcat(char *, const char *, int *);
int putcmd(SOCKET fd, char *);
int getreply(SOCKET fd, char *);
int connection(const char *, const int);
void sig_get_pipe(int);

int get_data(SOCKET fd, char * buf, int size);

